package com.gxa.entity.points;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 10:36:07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_integration")
@ApiModel(value = "Integration对象", description = "")
public class Integration implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户编码")
    @TableField("user_number")
    private String userNumber;


    @ApiModelProperty("创建时间")
//    , fill = FieldFill.INSERT
    @TableField(value = "create_time")
    private Date createTime;

    @ApiModelProperty("总积分")
    @TableField("count_score")
    private Integer countScore;

    @ApiModelProperty("类型名字")
    private String typeName;
    @ApiModelProperty("类型编号")
    private Integer typeId;
    @ApiModelProperty("类型值")
    private Integer typeValue;

    @ApiModelProperty("0 正常 1为删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
